package com.example;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class TestTask {

    @Scheduled(fixedDelay = 2000)
    public void job() {
        System.out.println("------------------------------------>");
    }

}
